Distributed Transaction Processing on an Ordering Network
نویسندگان
چکیده
The increasing demand for high throughputs in transaction processing systems leads to high degrees of transaction concurrency and hence high data contention. The conventional dynamic two-phase locking (2PL) concurrency control (CC) technique causes system thrashing at high data contention levels, restricting transaction throughput. Optimistic concurrency control (OCC) is an alternative strategy, but OCC techniques suffer from wasted resources caused by repeated transaction restarts. We propose a new technique, ORDER, that enlists the aid of the interconnection network in a distributed database system in order to coordinate transactions. The network in an ORDER system provides total ordering of messages at a low cost, enabling efficient CC. We compare the performance of dynamic 2PL and ORDER, using both an analytical model and a simulation. Unlike previously-proposed models for 2PL, our analytical model predicts performance accurately even under high data contention. We study the effects of various parameters on performance, and demonstrate that ORDER outperforms dynamic 2PL for a wide range of workloads.
منابع مشابه
Performance Models for Perfect and Imperfect Clocks on Timestamp Ordering in Distributed Databases
This work presents a model of a distributed database system which provides the framework to study the performance of timestamp ordering concurrency control. We exhibit an analytical solution, which has been tested with extensive simulation. The accuracy seems to be very high. We assume perfect and also imperfect clocks for synchronization and quantify the way in which local clock inaccuracies a...
متن کاملEvaluation of Concurrency Control Schemes on Distributed Systems
Concurrency on a massive scale is required to meet the needs of today’s increasingly distributed systems. To better understand how current concurrency control schemes work on distributed systems, this paper reports an evaluation of concurrency control schemes for online transaction processing (OLTP) workloads on distributed database management systems (DBMS) with a variable number of nodes. Fiv...
متن کاملThe Effect of Clock Drifts on the Performance of Distributed Timestamp Ordering
Timestamp–based algorithms have been proposed to protect distributed database from inconsistencies during concurrent access. In such algorithms, transactions may reach a paricular site out of the order of their timestamps, due to unexpected network delays. This causes conflicts which the distributed concurrency control mechanism has to cope with. In this paper we analyze the essential features ...
متن کاملPerformance Modeling of Distributed Timestamp Ordering: Perfect and Imperfect Clocks
This work presents a model of a distributed database system which provides the framework to study the performance of timestamp ordering concurrency control. Locking and timestamping are two popular approaches to concurrency control in database systems. Timestamp-based algorithms have been proposed to protect distributed databases from inconsistencies during concurrent access. In these algorithm...
متن کاملA Mobile Transaction System for Open Networks
The evolution of mobile computing devices and wireless network has created a new mobile computing environment. Users equipped with portable devices can access, retrieve and process information while in mobility. Mobile devices like laptops; mobile phones have become more powerful data processing elements. Traditional transaction model has moved forwarding to mobile transaction system. Autonomou...
متن کامل